package com.ruoyi.api.applycopy.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 抄送对象 applycopy
 *
 * @author xzshan
 * @date 2020-06-15
 */
public class Applycopy extends BaseEntity {
  private static final long serialVersionUID = 1L;

  /**
   * 编号
   */
  private Long id;

  /**
   * 抄送接收人
   */
  @Excel(name = "抄送接收人")
  private String loginnamereceiver;

  /**
   * 流程实例编号
   */
  @Excel(name = "流程实例编号")
  private String instanceid;

  /**
   * 业务模型
   */
  @Excel(name = "业务模型")
  private String service;

  /**
   * 业务模型编号
   */
  @Excel(name = "业务模型编号")
  private String entityid;

  /**
   * 抄送发起人
   */
  @Excel(name = "抄送发起人")
  private String loginnamesender;

  /**
   * 抄送评论
   */
  @Excel(name = "抄送评论")
  private String copycomment;

  public void setId(Long id) {
    this.id = id;
  }

  public Long getId() {
    return id;
  }

  public void setLoginnamereceiver(String loginnamereceiver) {
    this.loginnamereceiver = loginnamereceiver;
  }

  public String getLoginnamereceiver() {
    return loginnamereceiver;
  }

  public void setInstanceid(String instanceid) {
    this.instanceid = instanceid;
  }

  public String getInstanceid() {
    return instanceid;
  }

  public void setService(String service) {
    this.service = service;
  }

  public String getService() {
    return service;
  }

  public void setEntityid(String entityid) {
    this.entityid = entityid;
  }

  public String getEntityid() {
    return entityid;
  }

  public void setLoginnamesender(String loginnamesender) {
    this.loginnamesender = loginnamesender;
  }

  public String getLoginnamesender() {
    return loginnamesender;
  }

  public void setCopycomment(String copycomment) {
    this.copycomment = copycomment;
  }

  public String getCopycomment() {
    return copycomment;
  }

  @Override
  public String toString() {
    return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
      .append("id", getId())
      .append("loginnamereceiver", getLoginnamereceiver())
      .append("instanceid", getInstanceid())
      .append("service", getService())
      .append("entityid", getEntityid())
      .append("loginnamesender", getLoginnamesender())
      .append("copycomment", getCopycomment())
      .toString();
  }
}
